import 'package:flutter/material.dart';

class Searches extends StatelessWidget {
  final arguments;

  //构造方法
  Searches({this.arguments});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('这个是搜索页面'),
      ),
      body: Text(
          '这个是搜索页面arguments的值为:${arguments != null ? arguments['id'] : 0}'),
    );
  }
}
